package com.atguigu.auth.Service;

import com.atguigu.model.system.SysRole;
import com.atguigu.vo.system.AssginRoleVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

public interface SysRoleService extends IService<SysRole> {

     Map<String, Object> findRoleDataByUserId(Long userId);
     /**
      * 根据用户获取角色数据
//      * @param userId
      * @return
      */
//     Map<String, Object> findRoleByAdminId(Long userId);

     /**
      * 分配角色
//      * @param assginRoleVo
      */
     void doAssign(AssginRoleVo assginRoleVo);

}
